#ifndef QSCIBASICLEXER_H
#define QSCIBASICLEXER_H

#include "Qsci/qscilexercustom.h"
#include <QObject>

class QsciBasicLexer : public QsciLexerCustom
{
    Q_OBJECT
public:
    QsciBasicLexer(QObject *parent = nullptr);

    const char *language() const override;         // 返回当前语言的名字
    QString description(int style) const override; // 返回指定style的名字
    void styleText(int start, int end) override;   // 给start-end之间高亮
};

#endif // QSCIBASICLEXER_H
